import request from "@/utils/request";

// 查询部门列表
export function getElderIntelligentMonitorNumList(query) {
  return request({
    url: "/pk-retirement/intelligent-monitor/get-elder-intelligent-monitor-num-list",
    method: "get",
    params: query,
  });
}

export function getElderIntelligentMonitorList(query) {
  return request({
    url: "/pk-retirement/intelligent-monitor/get-elder-intelligent-monitor-list",
    method: "get",
    params: query,
  });
}

export function getAlertlist(query) {
  return request({
    url: "/pk-retirement/home-security/alert/get-alert-list",
    method: "get",
    params: query,
  });
}

export function getHandleAlertResult(query) {
  return request({
    url: "/pk-retirement/home-security/alert/get-handle-alert-result",
    method: "get",
    params: query,
  });
}

export function handleAlert(data) {
  return request({
    url: "/pk-retirement/home-security/alert/handle-alert",
    method: "put",
    data,
  });
}
